package org.dromara.app.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.app.appParams.AppPageParams;
import org.dromara.app.appReturn.AppTrendsReturn;
import org.dromara.app.domain.SkUserTrends;
import org.dromara.app.domain.vo.SkUserTrendsVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 用户发布动态Mapper接口
 *
 * @author Evacuation
 * @date 2024-08-07
 */
public interface SkUserTrendsMapper extends BaseMapperPlus<SkUserTrends, SkUserTrendsVo> {

    /**
     * 动态列表
     *
     * @param params
     * @return
     */
    List<AppTrendsReturn> getTrendsList(@Param("params") AppPageParams params,@Param("userId") Long userId);

    Long getZanNumber(Long userId);


}
